Search box url detection and open link feature #1881#1915
Search box url detection and open link feature #1881#1915Lissy93 merged 45 commits intoLissy93:masterfrom
Conversation
…link" option so that user can toggle this feature.
merge updated master to current branch
✅ Deploy Preview for dashy-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Adds searchTilesWithFields(allTiles, searchTerm, fieldSelection) to enable advanced search constrained to selected fields.
feat(search): add field-aware exact match section grouped by original section Body
|
New Features: Advanced Search Functionality
New Vars
Screenshots:
|
…, enableCtrlEnterWebSearch
…ebSearch, and appConfig.advancedSearch
Updated the configuration file to change theme and structure.
Lissy93
left a comment
There was a problem hiding this comment.
Looks great, I'll give this a proper review, and get it merged tomorrow :)
Lissy93
left a comment
There was a problem hiding this comment.
Heya @aspenyang, apologies for the very long delay on this.
I really liked your core idea! Will be very useful, especially in the context of a browser startpage.
But I am going to need to come back to re-implementing your advanced search UI toggles, as for now I worry that they add some maintenance overhead, which needs some more thought.
So, for now I have made some updates to your PR, which simplify things quite a lot, and basically just cover off the "URL entered" use case.
The version I will merge has this functionality is:
A new openUrlsDirectly (under appConfig.webSearch), which if set to true will: detect a search string which is in the format of a valid-looking URL. And then navigate directly to that URL when enter is pressed (bypassing the search).
In the meantime, I recommend you run your own fork, so that you can use your full version. Because (for now) that UI implementation is going to add too much maintenance overhead.
I hope that's okay with you
|
Hi @Lissy93, thanks for the kind feedback and for taking the time to review and refine the PR! I’m glad the direct URL detection feature will be included. I completely understand the concerns about maintenance overhead and really appreciate the feedback on my work. Cheers! |


Category:
Overview
Issue Number (if applicable) #1881
New Vars (if applicable)
Screenshot (if applicable)
Code Quality Checklist (Please complete)